package com.happycat.console.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.happycat.console.commen.aspactj.lang.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;


/**
 * 会员等级特权对象 cat_user_vip_privilege
 * 
 * @author verne
 * @date 2020-07-18
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("cat_user_vip_privilege")
@ApiModel(value="会员等级特权对象", description="会员等级特权对象数据")
public class CatUserVipPrivilege implements Serializable {

private static final long serialVersionUID=1L;


    /** ID */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 特权名字 */
    @Excel(name = "特权名字")
    @ApiModelProperty(value = "特权名字")
    private String name;

    /** 特权唯一字段 */
    @Excel(name = "特权唯一字段")
    @ApiModelProperty(value = "特权唯一字段")
    private String privilegeKey;

    /** 图标 */
    @Excel(name = "图标")
    @ApiModelProperty(value = "图标")
    private String privilegeImg;

    /** 特权说明 */
    @Excel(name = "特权说明")
    @ApiModelProperty(value = "特权说明")
    private String remarks;

    /** 创建时间 */
    @Excel(name = "创建时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    /** 创建人 */
    @ApiModelProperty(value = "创建时间")
    private String createBy;

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态")
    private Integer status;
}
